package com.nursing.bean;

import java.time.LocalDateTime;

public class CarePlan {
    private Integer id;
    private Integer elderId; // 老人id
    private String planDetails; // 护理计划详情
    private LocalDateTime createdAt;  // 创建时间

    private Integer status; // 任务状态：0-未分配，1-已分配，2-执行失败，待重新分配


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getElderId() {
        return elderId;
    }

    public void setElderId(Integer elderId) {
        this.elderId = elderId;
    }

    public String getPlanDetails() {
        return planDetails;
    }

    public void setPlanDetails(String planDetails) {
        this.planDetails = planDetails;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
}
